home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / encrypted_notice < prev    next >
Encoding:
Text File  |  2001-03-21  |  853 b   |  30 lines

  1. Synopsis:
  2.    on [<modes>]encrypted_notice [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client receives a NOTICE encrypted
  6.    with CTCP SED.  This is how the ENCRYPT command normally works.
  7.  
  8. Parameters:
  9.    $0    nickname of message sender
  10.    $1-   message received
  11.  
  12. Examples:
  13.    To clearly distinguish encrypted NOTICEs from unencrypted ones:
  14.       on ^encrypted_notice '% $N *' {
  15.          echo -${[$0]}- [ENCRYPTED] $1-
  16.       }
  17.  
  18. See Also:
  19.    encrypt(4); notice(1); on(5) encrypted_privmsg, notice
  20.  
  21. Restrictions:
  22.    This hook is subject to the same protocol restrictions as the NOTICE
  23.    hook.
  24.  
  25. Other Notes:
  26.    When used with the silent or quiet modes, this hook will suppress the
  27.    normal output for NOTICEs.  Care should be used, as it can jumble
  28.    public hooks.
  29.  
  30.